	.text
	.align 2
	.globl main
	.type main, @function
main:
	addi sp, sp, -48
	sd ra, 40(sp)
	sd s0, 32(sp)
	addi s0, sp, 48
.main_label_entry:
# %op0 = alloca i32
	li t0, 28
	sub t1, fp, t0
	sd t1, -24(fp)
# store i32 1, i32* %op0
	ld t1, -24(fp)
	addi t0, zero, 1
	sw t0, 0(t1)
# br label %label1
	j .main_label1
.main_label1:
# %op2 = load i32, i32* %op0
	ld t0, -24(fp)
	lw t1, 0(t0)
	sw t1, -32(fp)
# %op3 = icmp slt i32 %op2, 999999999
	lw t0, -32(fp)
	li t1, 999999999
	slt t0,t0,t1
	sb t0, -33(fp)
# br i1 %op3, label %label4, label %label7
	lb t0, -33(fp)
	bnez t0, .main_label4
	j .main_label7
.main_label4:
# %op5 = load i32, i32* %op0
	ld t0, -24(fp)
	lw t1, 0(t0)
	sw t1, -40(fp)
# %op6 = add i32 %op5, 1
	lw t0, -40(fp)
	addi t1, zero, 1
	add t2, t0, t1
	sw t2, -44(fp)
# store i32 %op6, i32* %op0
	ld t1, -24(fp)
	lw t0, -44(fp)
	sw t0, 0(t1)
# br label %label1
	j .main_label1
.main_label7:
# %op8 = load i32, i32* %op0
	ld t0, -24(fp)
	lw t1, 0(t0)
	sw t1, -48(fp)
# ret i32 %op8
	lw a0, -48(fp)
	j main_exit
main_exit:
	ld ra, 40(sp)
	ld s0, 32(sp)
	addi sp, sp, 48
	ret
